set (	kdcchaptereditorplugin_SRCS
		kdcchaptereditor.cpp
		kdcchaptereditorplugin.cpp
	)

kde4_add_plugin ( kdcchaptereditorplugin ${kdcchaptereditorplugin_SRCS} )
target_link_libraries ( kdcchaptereditorplugin kdclibgui kdclibcore ${KDE4_KDEUI_LIBS} )
install( TARGETS kdcchaptereditorplugin DESTINATION ${EXEC_INSTALL_PREFIX}/plugins )
install(FILES kdcchaptereditorplugin.desktop  DESTINATION  ${SERVICES_INSTALL_DIR} )